//
//  ScoreSubmitParser.h
//  Politics
//
//  Created by Hai Nguyen on 7/9/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol ScoreSubmitParserDelegate <NSObject>
- (void)didEndSubmit:(NSMutableArray*)result;
@end

@interface ScoreSubmitParser : NSObject <NSXMLParserDelegate> {
	
	NSObject <ScoreSubmitParserDelegate>* delegate;
	NSMutableData *responseData;
	NSMutableArray *resultArray;
}
@property (retain, nonatomic) NSMutableData *responseData;
@property (nonatomic, retain) NSObject <ScoreSubmitParserDelegate>* delegate;
@property (nonatomic, retain) NSMutableArray *resultArray;

- (void)submitScore:(NSString *)userid score:(int) score withDelegate:(id)aDelegate;

@end
